package com.xxgc.demo.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

/**
 * @Author:SJY
 * @Date :2023/9/5 - 09 - 05 - 17:11
 * thanksjava@qq.com
 */
@Data
public class UserInfo {
    @Schema(description = "用户id")
    private Long userId;
    @Schema(description = "姓名")
    private String name;
    @Schema(description = "用户名昵称")
    private String userName;
    @Schema(description = "密码")
    private String passWord;
    @Schema(description = "电话号码")
    private String phone;
    @Schema(description = "身份证号")
    private String idCard;
    @Schema(description = "性别")
    private int sex;
    @Schema(description = "年龄")
    private int age;
    @Schema(description = "创建时间")
    private Date createTime;
    @Schema(description = "有效字段")
    private Boolean flag;
}
